﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace UI.SellOrder
{
    public partial class FrmOrderQueryDetail : UI.ParentForm.BaseMain
    {
        string listid = string.Empty;

        public FrmOrderQueryDetail(string modulecode, string action, string listid)
            : base(modulecode, action)
        {
            InitializeComponent();

            this.listid = listid;
            this.tspView.Visible = false;
            this.Size = base.MidWindow;
            this.ControlBox = true;
            IsQueryComponent = true;
            this.Text = "订单明细查询";
        }

        protected override void UpdatePager(UI.Common.Pager pager)
        {
            pager.PageSize = 100;
            pager.StrWhere = string.Format("a.plistid = '{0}' ", this.listid);
        }
    }
}
